//
//  RZTableView.m
//  navDemo
//
//  Created by 任征 on 2017/6/7.
//  Copyright © 2017年 Facebook. All rights reserved.
//

#import "RZTableView.h"
#import "RZTableViewController.h"

@interface RZTableView()
/**
 *  <#type#>
 */
@property (nonatomic,strong) RZTableViewController *tableVC;
@end

@implementation RZTableView

- (instancetype)init {
  if (self = [super init]) {
    self.tableVC = [[RZTableViewController alloc] init];
    [self addSubview:self.tableVC.view];
  }
  return self;
}

- (void)setDataArray:(NSArray *)dataArray {
  self.tableVC.dataArray = dataArray;

}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
